package edu.ptu.acl.service;

import edu.ptu.acl.dto.DeptTreeDto;
import edu.ptu.acl.dto.param.DeptParam;
import edu.ptu.acl.entity.Dept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LinJC
 * @since 2022-03-15
 */
public interface IDeptService extends IService<Dept> {
    List<DeptTreeDto> getDeptTree();
    void saveDept(DeptParam deptParam);
    void deleteDept(Long id);
    void updateDept(DeptParam deptParam);
    List<String> getCurrentUserDeptName(Long deptId);
}
